package unidt.xf.core.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @Author sk
 * @Description:
 * @Date 2022/8/5 23:54
 **/
@Data
public class SkPage<T> {

    @Schema(description = "数据条数")
    Long total;

    @Schema(description ="总页数")
    Long totalPage;

    @Schema(description ="当前页")
    Long current ;


    @Schema(description ="是否有下一页")
    Boolean hasNextPage;

    @Schema(description ="当页数据")
    List<T> data;

}
